#include "widget.h"
#include <QApplication>
#include <QDesktopWidget>

#include "commonhelper.h"

#include "boocax/boocaxslam.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    CommonHelper::setStyle(":/css/style.css");

    Widget w(argc, argv);
    w.show();
    //w.showFullScreen();
    w.move((a.desktop()->width()-w.width())/2, (a.desktop()->height()-w.height())/2);

    BoocaxSlam *boocax_slam = new BoocaxSlam();

    return a.exec();
}
